import axios from '../http/request'

// 登录
function userLogin(params) {
    return axios.post('/user/login', params)
}

// 获取用户信息
function getUserInfo(params) {
    return axios.get('/user/userInfo')
}

export {
    userLogin,
    getUserInfo
}